<!DOCTYPE HTML>
<html>

<head>
	<title>Search</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="Marital Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
	<script
		type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<link href="/templates/746/css/bootstrap-3.1.1.min.css" rel='stylesheet' type='text/css' />
	<!-- Vue -->
	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <!-- Axios -->
    <script src="/js/axios-0.18.0.js"></script>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="/templates/746/js/jquery.min.js"></script>
	<script src="/templates/746/js/bootstrap.min.js"></script>
	<!-- Custom Theme files -->
	<link href="/templates/746/css/style.css" rel='stylesheet' type='text/css' />
	<!-- <link href='http://fonts.useso.com/css?family=Oswald:300,400,700' rel='stylesheet' type='text/css'> -->
	<!-- <link href='http://fonts.useso.com/css?family=Ubuntu:300,400,500,700' rel='stylesheet' type='text/css'> -->
	<!----font-Awesome----->
	<link href="/templates/746/css/font-awesome.css" rel="stylesheet">
	<link rel="stylesheet" href="/css/llg/search.css">
	<!----font-Awesome----->
	<script>
		$(document).ready(function () {
			$(".dropdown").hover(
				function () {
					$('.dropdown-menu', this).stop(true, true).slideDown("fast");
					$(this).toggleClass('open');
				},
				function () {
					$('.dropdown-menu', this).stop(true, true).slideUp("fast");
					$(this).toggleClass('open');
				}
			);
		});
	</script>
</head>

<body>
	<!-- ============================  Navigation Start =========================== -->
	<div style="position: fixed;width: 100vw;z-index: 10;">
		<iframe src="head.html" frameborder="0" width="100%" height="100px"></iframe>
	</div>
	<!-- 占位 -->
	<div style="width: 100vw;height: 60px;"></div>
	<!-- ============================  Navigation End ============================ -->
	<div id="searchApp" class="grid_3">
		<div class="container">
			<!--<script type="text/javascript">
				$(function () {
				$('#btnRadio').click(function () {
					var checkedradio = $('[name="gr"]:radio:checked').val();
					$("#sel").html("Selected Value: " + checkedradio);
				});
				});
			</script>-->
			<div class="col-md-9 search_left">
				<div class="breadcrumb1" style="position: relative;height: 36px;">
					<ul>
						<a href="index.html"><i class="fa fa-home home_1"></i></a>
						<span class="divider">&nbsp;|&nbsp;</span>
						<li class="current-pageNum">Regular Search</li>
						<button @click="hiddenForm()" class="llg-btn-one">{{isHidden | showIsHidden}}</button>
						<button @click="previousPage()" :class="searchParam.pageNum>1?'llg-btn-one':'llg-btn-one llg-forbidden'">上一页</button>
						<span>&nbsp;{{searchParam.pageNum}}/{{customerData.totalPages}}&nbsp;</span>
						<button @click="nextPage()" :class="searchParam.pageNum<customerData.totalPages?'llg-btn-one':'llg-btn-one llg-forbidden'">下一页</button>
						<button @click="clearParam()" class="llg-btn-one">清空条件</button>
					</ul>
					<button class="llg-btn-one llg-search" @click="query(true)">搜索</button>
				</div>
				<!-- 搜索表单 -->
				<form id="searchForm">
					<!-- 性别 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">性别 : </label>
						<div class="col-sm-7 form_radios">
							<input type="radio" name="sex" v-model="searchParam.sex" value="男" class="radio_1" /> 男 &nbsp;&nbsp;
							<input type="radio" name="sex" v-model="searchParam.sex" value="女" class="radio_1" /> 女 &nbsp;&nbsp;
							<input type="radio" name="sex" v-model="searchParam.sex" value="" class="radio_1" /> 不限 &nbsp;&nbsp;
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 昵称 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1" for="nike">昵称 : </label>
						<div class="col-sm-7 form_radios">
							<input id="nike" type="text" v-model="searchParam.nike" placeholder="他/她 的昵称" class="form-control has-dark-background"/>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 年龄 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">年龄 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.age">
									<option value="">不限</option>
									<option value="18-20">18~20岁</option>
									<option value="21-23">21~23岁</option>
									<option value="24-26">24~26岁</option>
									<option value="27-29">27~29岁</option>
									<option value="30-34">30~34岁</option>
									<option value="35-39">35~39岁</option>
									<option value="40-">40岁以上</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 住址 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">住址 : </label>
						<div class="col-sm-7 form_radios">
							<input type="text" v-model="searchParam.address" placeholder="他/她 的住址" class="form-control has-dark-background"/>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 婚姻状态 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1" for="marital_status">婚姻状态 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.marital_status">
									<option value="">不限</option>
									<option value="未婚">未婚</option>
									<option value="离异">离异</option>
									<option value="丧偶">丧偶</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 身高 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">身高 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.height">
									<option value="">不限</option>
									<option value="0-140">140cm以下</option>
									<option value="140-150">140~150cm</option>
									<option value="150-160">150~160cm</option>
									<option value="160-170">160~170cm</option>
									<option value="170-180">170~180cm</option>
									<option value="180-">180cm以上</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 学历 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">学历 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.education">
									<option value="">不限</option>
									<option value="双学士">双学士</option>
									<option value="硕士">硕士</option>
									<option value="博士">博士</option>
									<option value="本科">本科</option>
									<option value="大专">大专</option>
									<option value="高中中专及以下">高中中专及以下</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 月薪 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">月薪 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.salary">
									<option value="">不限</option>
									<option value="-2000">2000元以下</option>
									<option value="2000-5000">2000~5000元</option>
									<option value="5000-10000">5000~10000元</option>
									<option value="10000-20000">10000~20000元</option>
									<option value="20000-50000">20000~50000元</option>
									<option value="50000-">50000元以上</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 子女情况 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">子女情况 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.children">
									<option value="">不限</option>
									<option value="没有孩子">没有孩子</option>
									<option value="有孩子跟着自己">有孩子跟着自己</option>
									<option value="有孩子但已经独立">有孩子但已经独立</option>
									<option value="有孩子跟着对方">有孩子跟着对方</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 购车情况 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">购车情况 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.car">
									<option value="">不限</option>
									<option value="暂未购车">暂未购车</option>
									<option value="已经购车">已经购车</option>
									<option value="已购车(经济型)">已购车(经济型)</option>
									<option value="已购车(中档型)">已购车(中档型)</option>
									<option value="已购车(豪华型)">已购车(豪华型)</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
					<!-- 购房情况 -->
					<div class="form_but1">
						<label class="col-sm-2 control-lable1">购房情况 : </label>
						<div class="col-sm-7 form_radios">
							<div class="select-block1">
								<select v-model="searchParam.house">
									<option value="">不限</option>
									<option value="暂未购房">暂未购房</option>
									<option value="已购住房">已购住房</option>
									<option value="已购房(无贷款)">已购房(无贷款)</option>
									<option value="已购房(有贷款)">已购房(有贷款)</option>
									<option value="需要时购置">需要时购置</option>
									<option value="与父母同住">与父母同住</option>
									<option value="与人合租">与人合租</option>
									<option value="独自租房">独自租房</option>
									<option value="住单位房">住单位房</option>
									<option value="住亲朋家">住亲朋家</option>
								</select>
							</div>
						</div>
						<div class="clearfix"> </div>
					</div>
				</form>
				<!-- 展示 -->
				<div class="paid_people">
					<h1>Search Result : </h1>
					<div style="height: 180px;overflow: hidden;margin-bottom: 24px;padding-bottom: 24px;border-bottom: 1px solid #bdc3c7;" class="col-sm-6 paid_people-left" v-for="(user, index) in customerData.list">
						<ul class="profile_item">
							<a :href="'/api/web/view_profile.html?id='+user.id">
								<li class="profile_item-img">
									<img :src="user.photo" class="img-responsive" alt="" />
								</li>
								<li class="profile_item-desc">
									<h3>{{user.nick}}</h3>
									<h6>{{user.sex}}&nbsp;&nbsp;身高：{{user.height}}&nbsp;&nbsp;年龄：{{user.age}}&nbsp;&nbsp;住址：{{user.address}}</h6>
									<h5>房：{{user.house}}</h5>
									<h5>车：{{user.car}}</h5>
									<h5>收入：{{user.salary}}</h5>
									<h5>学历：{{user.education}}</h5>
								</li>
								<div class="clearfix"> </div>
							</a>
						</ul>
					</div>
				</div>
			</div>
			<!-- 右侧展示 -->
			<div class="col-md-3 match_right">
				<div class="profile_search1">
					<form>
						<input type="text" class="m_1" name="ne" size="30" required="" placeholder="Enter Profile ID :">
						<input type="submit" value="Go">
					</form>
				</div>
				<section class="slider">
					<h3>Happy Marriage</h3>
					<div class="flexslider">
						<ul class="slides">
							<li>
								<img src="templates/746/images/s2.jpg" alt="" />
								<h4>Lorem & Ipsum</h4>
								<p>It is a long established fact that a reader will be distracted by the readable</p>
							</li>
							<li>
								<img src="templates/746/images/s1.jpg" alt="" />
								<h4>Lorem & Ipsum</h4>
								<p>It is a long established fact that a reader will be distracted by the readable</p>
							</li>
							<li>
								<img src="templates/746/images/s3.jpg" alt="" />
								<h4>Lorem & Ipsum</h4>
								<p>It is a long established fact that a reader will be distracted by the readable</p>
							</li>
						</ul>
					</div>
				</section>
				<div class="view_profile view_profile2">
					<h3>View Similar Profiles</h3>
					<ul class="profile_item">
						<a href="view_profile.html">
							<li class="profile_item-img">
								<img src="templates/746/images/p5.jpg" class="img-responsive" alt="" />
							</li>
							<li class="profile_item-desc">
								<h4>2458741</h4>
								<p>29 Yrs, 5Ft 5in Christian</p>
								<h5>View Full Profile</h5>
							</li>
							<div class="clearfix"> </div>
						</a>
					</ul>
					<ul class="profile_item">
						<a href="view_profile.html">
							<li class="profile_item-img">
								<img src="templates/746/images/p6.jpg" class="img-responsive" alt="" />
							</li>
							<li class="profile_item-desc">
								<h4>2458741</h4>
								<p>29 Yrs, 5Ft 5in Christian</p>
								<h5>View Full Profile</h5>
							</li>
							<div class="clearfix"> </div>
						</a>
					</ul>
					<ul class="profile_item">
						<a href="view_profile.html">
							<li class="profile_item-img">
								<img src="templates/746/images/p7.jpg" class="img-responsive" alt="" />
							</li>
							<li class="profile_item-desc">
								<h4>2458741</h4>
								<p>29 Yrs, 5Ft 5in Christian</p>
								<h5>View Full Profile</h5>
							</li>
							<div class="clearfix"> </div>
						</a>
					</ul>
					<ul class="profile_item">
						<a href="view_profile.html">
							<li class="profile_item-img">
								<img src="templates/746/images/p8.jpg" class="img-responsive" alt="" />
							</li>
							<li class="profile_item-desc">
								<h4>2458741</h4>
								<p>29 Yrs, 5Ft 5in Christian</p>
								<h5>View Full Profile</h5>
							</li>
							<div class="clearfix"> </div>
						</a>
					</ul>
				</div>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
	<script>
		var searchApp = new Vue({
			el: '#searchApp',
			data: {
				searchParam: {
					nike: '',
					age: '',
					sex: '',
					address: '',
					marital_status: '',
					height: '',
					education: '',
					salary: '',
					children: '',
					car: '',
					house: '',
					pageNum: 1,
					pageSize: 12
				},
				customerData: {
					list: [{
						id: '28854149',
						photo: 'https://at4.jyimg.com/b3/36/ed0902af17808dab78f4c4aba69a/ed0902af1_25_avatar_p.jpg',
						nick: 'Mr.whangee',
						age: '36',
						address: '武汉',
						height: '173',
						education: '本科',
						salary: '20000~50000元',
						car: '已购车(豪华型)',
						house: '已购房(有贷款)'
					},{
						id: '28854149',
						photo: 'https://at4.jyimg.com/7c/35/94ce46879e0f713d6ba5e97a40c9/94ce46879_2_avatar_p.jpg',
						nick: '蒍ミ你守葔',
						age: '39',
						address: '沙坪坝',
						height: '175',
						education: '高中中专及以下',
						salary: '20000~50000元',
						car: '已购车(中档型)',
						house: '已购房(无贷款)'
					},{
						id: '28854149',
						photo: 'https://at1.jyimg.com/0d/a3/94d134bf9144bac368c2004810aq/94d134bf9_avatar_p.jpg',
						nick: '简单的幸福',
						age: '37',
						address: '沙坪坝',
						height: '168',
						education: '本科',
						salary: '5000~10000元',
						car: '已购车(豪华型)',
						house: '需要时购置'
					},{
						id: '28854149',
						photo: 'https://at2.jyimg.com/92/32/43236bd11e733bc50e35b4903566/43236bd11_3_avatar_p.jpg',
						nick: '七七',
						age: '35',
						address: '沙坪坝',
						height: '155',
						education: '大专',
						salary: '50000元以上',
						car: '已购车(豪华型)',
						house: '已购房(无贷款)'
					}],
					totalPages: 5,
					total: 60
				},
				from: '',
				isHidden: false
			},
			created() {
				this.query();
			},
			methods: {
				query(reset) {
					// 判断是否需要重置页码
					if (reset) {
						this.searchParam.pageNum = 1;
					}
					axios.post('/api/customer/queryForCondition', this.searchParam).then(res => {
						if (res.data.flag) {
							this.customerData = res.data.data;
						}
					});
				},
				// 显示、隐藏搜索栏
				hiddenForm() {
					$("#searchForm").slideToggle(300);
					this.isHidden = !this.isHidden;
				},
				// 上一页
				previousPage() {
					if (this.searchParam.pageNum <= 1) {
						return;
					}
					this.searchParam.pageNum--;
					this.query(false);
				},
				// 下一页
				nextPage() {
					if (this.searchParam.pageNum >= this.customerData.totalPages) {
						return;
					}
					this.searchParam.pageNum++;
					this.query(false);
				},
				// 清空搜索条件
				clearParam() {
					this.searchParam = {
						nike: '',
						age: '',
						sex: '',
						address: '',
						marital_status: '',
						height: '',
						education: '',
						salary: '',
						children: '',
						car: '',
						house: '',
						pageNum: 1,
						pageSize: 12
					};
					this.query(false);
				}
			},
			filters: {
				showIsHidden(value) {
					if (value) {
						return '显示搜索栏';
					}
					return '收起搜索栏';
				}
			}
		});
	</script>

	<div class="map">
		<!-- <iframe
			src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d3150859.767904157!2d-96.62081048651531!3d39.536794757966845!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sin!4v1408111832978">
		</iframe> -->
	</div>

	<!-- Footer Start -->
	<div class="footer">
		<div class="container">
			<div class="col-md-4 col_2">
				<h4>About Us</h4>
				<p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
					et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris."</p>
			</div>
			<div class="col-md-2 col_2">
				<h4>Help & Support</h4>
				<ul class="footer_links">
					<li><a href="#">24x7 Live help</a></li>
					<li><a href="contact.html">Contact us</a></li>
					<li><a href="#">Feedback</a></li>
					<li><a href="faq.html">FAQs</a></li>
				</ul>
			</div>
			<div class="col-md-2 col_2">
				<h4>Quick Links</h4>
				<ul class="footer_links">
					<li><a href="privacy.html">Privacy Policy</a></li>
					<li><a href="terms.html">Terms and Conditions</a></li>
					<li><a href="services.html">Services</a></li>
				</ul>
			</div>
			<div class="col-md-2 col_2">
				<h4>Social</h4>
				<ul class="footer_social">
					<li><a href="#"><i class="fa fa-facebook fa1"> </i></a></li>
					<li><a href="#"><i class="fa fa-twitter fa1"> </i></a></li>
					<li><a href="#"><i class="fa fa-google-plus fa1"> </i></a></li>
					<li><a href="#"><i class="fa fa-youtube fa1"> </i></a></li>
				</ul>
			</div>
			<div class="clearfix"> </div>
			<div class="copy">
				<p>Copyright &copy; 2015.Company name All rights reserved.<a target="_blank"
						href="http://sc.chinaz.com/moban/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a></p>
			</div>
		</div>
	</div>
	<!-- Footer Over -->
	<!-- FlexSlider -->
	<link href="/templates/746/css/flexslider.css" rel='stylesheet' type='text/css' />
	<script defer src="/templates/746/js/jquery.flexslider.js"></script>
	<script type="text/javascript">
		$(window).load(function () {
			$('.flexslider').flexslider({
				animation: "slide",
				start: function (slider) {
					$('body').removeClass('loading');
				}
			});
		});
	</script>
	<!-- FlexSlider -->
</body>

</html>